<form id="yanqi-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_sn')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_sn" data-rule="required" readonly class="form-control" type="text"
                   value="{$row.order_sn|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">签约时间: </label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cycletime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss"
                   data-use-current="true" readonly type="text" value="{:$row.cycletime?datetime($row.cycletime):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">总期数:</label>
        <div class="col-xs-12 col-sm-8">
            <input class="form-control" readonly type="text" value="{$row.total_cycle}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">当前期数:</label>
        <div class="col-xs-12 col-sm-8">
            <input class="form-control" readonly type="text" value="{$row.dangqian}" name="dangqian">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">剩余期数:</label>
        <div class="col-xs-12 col-sm-8">
            <input class="form-control" readonly type="text" value="{$row.remaining_cycle}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">扣款金额:</label>
        <div class="col-xs-12 col-sm-8">
            <input class="form-control" readonly type="text" value="{$row.month_money}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">扣款时间:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-paytime" class="form-control" readonly type="text" value="{:$row.paytime?date('d',$row.paytime):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">延期扣款日期:</label>
        <div class="col-xs-12 col-sm-8">
<!--            /<input id="c-yanqi_day" class="form-control" name="row[yanqi_day]" type="text" value="{:$row.yanqi_day}">-->

            <input id="c-yanqi_day" class="form-control datetimepicker" data-date-format="YYYY-MM-DD"
                   data-use-current="true" type="text" data-date-min-date="{$mindate}" data-date-max-date="{$maxdate}" name="row[yanqi_day]" value="">
        </div>
    </div>


    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
